package com.woniuxy.permission.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.woniu.dto.SelectAllDto;
import com.woniu.form.SelectAllForm;
import com.woniuxy.permission.entity.Permission;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 管理原详情表 Mapper 接口
 * </p>
 *
 * @author author
 * @since 2025-05-13
 */
@Mapper
public interface PermissionMapper extends BaseMapper<Permission> {


    IPage<SelectAllDto> selectWithRoleName(@Param("page")Page<SelectAllDto> page,@Param("selectAllForm") SelectAllForm selectAllForm);
}
